import axios from "axios";

export default function request(path , method , data , headers) {
    return axios({
        url: path,
        method , data ,headers ,
        responseType: 'json'
    });
}